package com.gec.mall.service;

import com.gec.mall.pojo.PageResp;
import com.gec.mall.pojo.TbSpecification;
import com.gec.mall.pojopro.Specification;

import java.util.List;

/**
 * @Author: li
 * @Date: 2023/1/8
 * @PACKAGE_NAME:com.gec.mall.service
 * @Project_Name:mall-parent
 * @VERSION: 1.0.0
 */
public interface SpecificationService {

    List<TbSpecification> findAll();

    PageResp findPage(int pageNum,int pageSize);

    void add(Specification specification);

    void update(Specification specification);

    Specification findById(Long id);

    void delete(Long id);
}
